package n1;

import java.util.Scanner;
import java.util.concurrent.atomic.AtomicInteger;

class University {
    final AtomicInteger scoreLine = new AtomicInteger();
    public University(int scoreLine) {
        this.scoreLine.set(scoreLine);
    }
    public int getScoreLine() {
        return scoreLine.get();
    }
}

record Student(String name, int score) {
}

class Admission {
    public void isAdm(Student stu, University un) {
        if (stu.score() >= un.getScoreLine()) {
            System.out.println(stu.name() + "被录取");
        } else {
            System.out.println(stu.name() + "未被录取");
        }
    }
}

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int scoreLine = scanner.nextInt();
        String name = scanner.next();
        int score = scanner.nextInt();
        University university = new University(scoreLine);
        Student student = new Student(name, score);
        Admission admission = new Admission();
        admission.isAdm(student, university);
    }
}
